package com.cip.master.dao;

import java.util.List;

import com.cip.master.model.Payment;

public interface PaymentDAO {
	
	public Payment savePayment(Payment payment);
	
	public Payment getPaymentById(int id) throws Exception;
	
	public List<Payment> getAllPaymentsByUser(String username) throws Exception;
	
	public List<Payment> getAllPaymentsByTenant(int tenantId) throws Exception;
	
	public List<Payment> getAllPayments() throws Exception;

}
